package com.ddwl.search.config;

import com.ddwl.common.aop.LogAspect;
import com.ddwl.common.aop.OperateLogAspect;
import com.ddwl.common.config.*;
import com.ddwl.common.exception.ExceptionHandlerAdvice;
import com.ddwl.common.interceptor.AuthInterceptor;
import com.ddwl.common.service.AuthService;
import com.ddwl.common.service.RedisService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Import({FeignConfig.class, DingTalkNotify.class,RedisConfig.class, OperateLogAspect.class, ExceptionHandlerAdvice.class, LogAspect.class, AuthService.class, AuthInterceptor.class, MvcConfig.class,})
@Configuration
public class SearchConfig {

    @Bean
    public RedisService redisService(){
        return new RedisService();
    }

}
